package HomeWork._2024_3_18.src;

public class Rectangle extends Graph {
    private int l1, l2;

    public Rectangle() {
    }

    public Rectangle(int l1, int l2) {
        this.l1 = l1;
        this.l2 = l2;
    }

    double calculateArea() {
        return l1 * l2;
    }

    public int getL1() {
        return l1;
    }

    public void setL1(int l1) {
        this.l1 = l1;
    }

    public int getL2() {
        return l2;
    }

    public void setL2(int l2) {
        this.l2 = l2;
    }
}
